<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <form id="f1"></form>
    <form id="f2"></form>
    <form id="f3"></form>
    <form id="f4"></form>
    <script>
      console.log(document.forms);
      console.log(document.forms.f1);
      console.log(document.forms.f2);
      console.log(document.forms.f3);
      // console.log(document.querySelectorAll("form"));
    </script>
  </body>
</html>
